package practice.fourth.feignRemoteService;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author :Colin
 * @version 创建时间: 2021/9/11 16:15
 */
@FeignClient(name = "sca-provider")
public interface FeignRemoteProvider {
    @GetMapping("/provider/{msg}")
    String doGetMsg(@PathVariable String msg);
}
